package com.compass.framework.model

import java.io.Serializable

/**
 * @desc   banner
 */


data class DoctorWrap(
    val total: Int,//总数
    val list: MutableList<Doctor>? = mutableListOf()
)

/**
 * 医生相关的
 */
data class Doctor(
    //医生列表的
    val id: String,
    val createTime: Long,
    val mobile: String?, //网站地址
    val avatar: String?,
    var name: String,
    val sex: Int = 0,
    val medicalConsultationCount: Int = 0,//会议次数
    val wyyxAccId: String,//im账号
    val hospitalName: String,
    val departmentName: String?,//科室
    val positionName: String?, //职称
    val meritIllness: String,
    val meritTherapeutic: String,
    var medicalConsultationPrice: String,
    var consultationPrice: String,

    //会诊相关医生信息
    val status: Int,
    val mainStatus: Int,
    val doctorId: String,
    val orderId: String,
    val price: Long,
    val doctorName: String,
    val doctorAvatar: String,


):Serializable {
    fun getSexString(): String {
        return  when (sex) {
            1 -> {
                "男"
            }
            2 -> {
                "女"
            }
            else -> {
                "未知"
            }
        }
    }
}

/**
 * 用来创建会诊的累
 */
data class DoctorId(
    val doctorId: String?,
    ):Serializable